{layout name="../common/master"/}
<div id="right">
       <h4 style="border-bottom: 1px solid #ccc;padding-bottom: 3px">所有配置列表
               <a href="{:URL('home/Appconfig/addCommonConfig')}" class="btn btn-success">添加</a>
        </h4>
    <!--<form action="" method="post" role="form">-->
        <!--<div class="form-group">-->
            <!--<input type="text" style="width: 200px;float: left;margin-right: 20px" class="form-control" value="{if condition='isset($uname)'}{$uname}{/if}" name="uname" id="" placeholder="上传名">-->
        <!--</div>-->
        <!--<button type="submit" class="btn btn-primary">查询</button>-->
        <!--<a href="{:URL('home/Docmanager/docupload')}" class="btn btn-success">上传文件</a>-->
    <!--</form>-->
    <table class="table-bordered table  table-hover" style="margin-top: 20px;">
        <thead>
        <tr>
            <th>编号</th>
            <th>名称</th>
            <th>内容</th>
            <th>平台</th>
            <th>类型</th>
            <th>创建时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {foreach name="data" item="vo" key="k"}
            <tr>
                <th>{$vo['id']}</th>
                <th>{$vo['name']}</th>
                <th>{$vo['content']}</th>
                <th>{$vo['plantfrom']}</th>
                <th>{$vo['type']}</th>
                <th>{$vo['create_time']}</th>
                <th>
                    <div class="btn-group">
                        <a style="margin-left: 5px" href="{:URL('home/Appconfig/editCommonConfig',['uid'=>$vo['id']])}" class="btn btn-primary btn-sm">修改</a>
                    </div>
                </th>
            </tr>
        {/foreach}
        </tbody>
    </table>

</div>
